home *** CD-ROM | disk | FTP | other *** search
Wrap
/* $Id: I3DShSel.H 1.1 1997/05/02 22:39:35 damien Exp $ */ /*****************************************************************************\ * * * I3DShSel.h * * I3DShSelection efinition * * * * Copyright (c) 1995-97, Fractal Design Corp. All rights reserved. * * * \*****************************************************************************/ #ifndef __I3DSHSEL__ #define __I3DSHSEL__ #ifndef __3DBSTYPE__ #include "3DBSType.h" #endif #ifndef _COMPOBJ_H_ #include "RCompObj.h" #endif //struct I3DShTreeElement; // {C52322C0-C254-11d0-94E5-0000C0E44587} DEFINE_GUID(IID_I3DShSelection, 0xc52322c0L, 0xc254, 0x11d0, 0x94, 0xe5, 0x0, 0x0, 0xc0, 0xe4, 0x45, 0x87); struct IShIterator; #undef INTERFACE #define INTERFACE I3DShSelection DECLARE_INTERFACE_(I3DShSelection, IUnknown) { //-- IUnknown methods STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID* ppvObj) PURE; STDMETHOD_(ULONG, AddRef) (THIS) PURE; STDMETHOD_(ULONG, Release) (THIS) PURE; //-- I3DShSelection STDMETHOD(Select)(THIS_ I3DShTreeElement* tree) PURE; STDMETHOD(Deselect)(THIS_ I3DShTreeElement* tree) PURE; STDMETHOD(DeselectAll)(THIS) PURE; STDMETHOD(GetSelection) (THIS_ I3DShTreeElement*** trees, int* number) PURE; // return an array of pointers, all the tree elements must be released after use }; #endif